import convertSVGToTSX from '../../src/libs/tools/svg-to-tsx/src';

function generateSVG() {
    return new Promise((reslove, reject) => {
        convertSVGToTSX({
            targetPath: './static/assets/icons',
            outputPath: './src/libs/elk-ui/svg/',
        })
            .then((res) => reslove(res))
            .catch((err) => reject(err));
    });
}

export default {
    generateSVG: generateSVG,
};
